package com.kt.mes.service;

import java.util.List;
import java.util.Map;

import com.kt.mes.domain.StockBinList;

/**
 * 料仓详情Service接口
 * 
 * @author lzc
 * @date 2021-01-26
 */
public interface IStockBinListService 
{
    /**
     * 查询料仓详情
     * 
     * @param id 料仓详情ID
     * @return 料仓详情
     */
    public StockBinList selectStockBinListById(Long id);

    /**
     * 查询料仓详情列表
     * 
     * @param stockBinList 料仓详情
     * @return 料仓详情集合
     */
    public List<StockBinList> selectStockBinListList(StockBinList stockBinList);

    /**
     * 新增料仓详情
     * 
     * @param stockBinList 料仓详情
     * @return 结果
     */
    public int insertStockBinList(StockBinList stockBinList);

    /**
     * 修改料仓详情
     * 
     * @param stockBinList 料仓详情
     * @return 结果
     */
    public int updateStockBinList(StockBinList stockBinList);

    /**
     * 批量删除料仓详情
     * 
     * @param ids 需要删除的料仓详情ID
     * @return 结果
     */
    public int deleteStockBinListByIds(Long[] ids);

    /**
     * 删除料仓详情信息
     * 
     * @param id 料仓详情ID
     * @return 结果
     */
    public int deleteStockBinListById(Long id);

    public Map<String,Object> selectStockBinSum(StockBinList stockBinList);

    void outStockBinByTsbId(Long tsbId);
}
